package com.reconcile.phone.business.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.reconcile.phone.business.domain.RpPhoneOrder;
import com.reconcile.phone.business.domain.bo.RpPhoneOrderBo;
import com.reconcile.phone.business.domain.vo.RpPhoneOrderVo;
import com.reconcile.phone.common.core.domain.PageQuery;

import java.util.List;

/**
 * Author: liuliyou
 * Date: 2025/8/7
 */
public interface RpPhoneOrderService {

    /**
     * 新增订单
     *
     * @param bo
     * @return
     */
    RpPhoneOrder insertPhoneOrder(RpPhoneOrderBo bo);

    /**
     * 订单分页查询
     *
     * @param bo
     * @return
     */
    List<RpPhoneOrderVo> selectPhoneOrderList(RpPhoneOrderBo bo);

    /**
     * 后台分页查询
     *
     * @param bo
     * @param pageQuery
     * @return
     */
    Page<RpPhoneOrderVo> selectSysOrderList(RpPhoneOrderBo bo, PageQuery pageQuery);

    /**
     * 订单详细信息
     *
     * @param phoneOrderId
     * @return
     */
    RpPhoneOrderVo queryPhoneOrderById(Long phoneOrderId);
}
